package com.aegean.MonitorExamSYS.monitor.business;

import java.io.InputStream;
import java.io.OutputStream;
import java.sql.Blob;
import java.util.List;

import com.aegean.MonitorExamSYS.monitor.component.ExamPosition;
import com.aegean.MonitorExamSYS.monitor.component.ExamineeState;
import com.aegean.MonitorExaxSYS.model.BigType;
import com.aegean.MonitorExaxSYS.model.ConductionValue;
import com.aegean.MonitorExaxSYS.model.ExamineeValue;
import com.aegean.MonitorExaxSYS.model.MonitorQualification;
import com.aegean.MonitorExaxSYS.model.MonitorValue;
import com.aegean.MonitorExaxSYS.model.SmallType;
import com.aegean.MonitorExaxSYS.model.component.Photo;

public interface MonitorBusiness {
	public List<BigType> showBigsList();

	public List<SmallType> showSmallsList(int big_Id);

	public List<ConductionValue> showUnitList();

	public MonitorValue insertMonitor(MonitorValue one, int big_Id, int unit_Id);

	public MonitorValue loginMonitor(MonitorValue one, int unit_Id);

	public Blob showPhoto(int Customer_Id);

	public MonitorValue updateMonitor(int Customer_Id, MonitorValue one,
			Photo photo);

	public MonitorValue updateMonitorPwd(int Customer_Id, String newPwd);

	public List<ExamPosition> showMonitorExams(int monitor_Id, int limit,
			int start);

	public int showMonitorExamsCount(int monitor_Id);

	public List<com.aegean.MonitorExamSYS.monitor.component.MonitorValue> showMonitorValues(
			int ep_Id);

	public int countOfExaminees(int ep_Id);

	public List<ExamineeState> showExamineeOnPosition(int position_Id,
			String root, String position);

	public List<com.aegean.MonitorExamSYS.monitor.component.MonitorValue> showMonitorOnPosition(int position_Id);

	public InputStream downExelForMonitor(
			String exam_Name,
			String position_Name,
			String monitor_Identiy,
			String startTime,
			String endTime,
			int personCount,
			String position_Identity,
			List<com.aegean.MonitorExamSYS.monitor.component.MonitorValue> monitors,
			String monitor_RealName);

	public InputStream downExcelPosition(int position_Id, String root,String exam_Name,String startTime,String endTime,String position_Name);
}
